package org.jeecg.modules.subject.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SubjectModel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键ID,存UUID*/
    private String id;
    /**题干*/
    private String subjectName;
    /**题型数据字典（1、单选题 2、多选题 3、判断题 4、填空题 5、简答题）填空题格式:*/
    private String subjectType;
    /**题目内容图片（如存在复杂的代码则需要图片）xxxx___xxxx___;*/
    private String subjectImage;
    /**所属知识点id*/
    private String subjectCourseId;
    /**题目选项，存储Json格式数据如：[{“option”:”A”,” content”:”xxxxxx”},{“option”:”B”,” content”:”xxxxxx”},{“option”:”C”,” content”:”xxxxxx”},{“option”:”D”,” content”:”xxxxxx”}]*/
    private String subjectOption;
    /**答案，存储json格式数据，
     单选题:[“A”]
     多选题:[“A”,”B”]
     判断题:[“true”]
     填空题:[“xxx”,”xxxx”]简答题:没有答案*/
    private String subjectAnswer;
    /**题目难度1-5级，1级最低，5级最高。*/
    private Integer subjectDifficulty;
    /**题目解析*/
    private String subjectAnalysis;
    /**创建人*/
    private String createBy;
    /**创建时间*/
    private Date createTime;
    /**更新人*/
    private String updateBy;
    /**更新时间*/
    private Date updateTime;

    /**
     * 课程类别id
     */
    private String courseTypeId;

    /**
     * 课程id
     */
    private String courseId;

    /**
     * 知识点id
     */
    private String knowledgeId;
}
